package com.example.spring.demo.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author liangchao03
 * 2019/4/28
 */
@Data
@ConfigurationProperties(prefix = "sharding.my")
public class MyShardingConfigProperties {
    private List<MyDataSourceProperty> datasource;
    private List<MyShardingRuleProperty> rule;
}
